package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 项目:springboot06
 * 描述:
 * 时间:2024/11/28 16:35
 * 作者:admin
 * 版本:1.0
 **/
@Data
@TableName("userinfo")
public class UserInfo {

    //主键列
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    //用户名
    @TableField("userName")
    private String userName;
    //密码
    @TableField("password")
    private String password;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
